/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.applis.demo.forms;

import opiam.admin.applis.demo.beans.Group;

import org.apache.struts.action.ActionForm;

import java.io.Serializable;

import java.util.List;


/**
 * This class describes the group formBean.
 */
public class GroupForm extends ActionForm implements Serializable
{
    /** Group object. */
    private Group group = new Group();

    /** Users list. */
    private List usersList = null;

    /**
     * Creates a new GroupForm object.
     */
    public GroupForm()
    {
    }

    /**
     * Gets the group.
     *
     * @return The group.
     */
    public Group getGroup()
    {
        return group;
    }

    /**
     * Sets the group.
     *
     * @param group  The group to set.
     */
    public void setGroup(Group group)
    {
        this.group = group;
    }

    /**
     * Reset all the value of the object.
     */
    public void reset()
    {
        group = null;
    }
}
